package com.stellar.circle.controller.miniApp.sPost.vo;

import com.stellar.core.util.DateFormatConstants;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class PostPinRequestVO implements Serializable {

    /**
     * 帖子ID
     */
    private Long postId;

    /**
     * 置顶开始时间
     */
    @DateTimeFormat(pattern = DateFormatConstants.DATETIME_FORMAT_YYYY_MM_DD_HH_MM_SS)
    private Date startTime;

    /**
     * 置顶结束时间
     */
    @DateTimeFormat(pattern = DateFormatConstants.DATETIME_FORMAT_YYYY_MM_DD_HH_MM_SS)
    private Date endTime;

    /**
     * 置顶订单号
     */
    private String pinOrderNo;

    /**
     * 是否立即执行置顶
     */
    private Boolean isImmediately;
}